package com.cskaoyan.market.util;

import javax.servlet.http.HttpServletRequest;

public class RequestUtil {
    public static String getMethodName(HttpServletRequest req, String delete) {
        String requestURI = req.getRequestURI();
        String op = requestURI.replace(req.getContextPath() + delete, "");
        return op;
    }
}
